<template>
    <div class="title-container">
        <h3 class="title">新闻资讯详情</h3>
        <p class="subtitle">
            <span>发表时间：</span>
            <span>点击：0次</span>
        </p>
        <hr/>
        <div class="content"></div>
        <comment-box></comment-box>
    </div>
</template>
<script>
import comment from '../subcomponents/comment.vue'
export default {
    data(){
        return{
           id:this.$route.params.id
        }
    },
    components:{
        "comment-box":comment
    }   
}
</script>
<style lang="less" scoped>
.title-container{
    padding: 0 4px;
    .title{
        font-size: 16px;
        color:red;
        text-align: center;
        margin: 15px 0;
    }
    .subtitle{
        font-size: 14px;
        color: #226aff;
        display: flex;
        justify-content: space-between
    }
    .content{

    }
}
</style>


